﻿// Copyright (c)  YISH. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using System;
using NSQL.Expressions.Functions;

namespace NSQL.Expressions
{
    public interface IIntervalExpression : IExpression
    {
        long Interval { get; set; }
        IntervalType Type { get; set; }
    }

    public enum IntervalType
    {
        Years,
        Months,
        Weeks,
        Days,
        Hours,
        Minutes,
        Seconds,
//        MilliSeconds,
//        Ticks
    }
}